package com.factory.iamp.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserList {
    private String uid;
    private String username;
    private String realname;
    private RoleList role;

    public void setRole(Role role) {
        this.role = new RoleList(role);
    }
}
